<?php
/**
 * Created by PhpStorm.
 * User: 张天硕
 * Date: 2017/3/27
 * Time: 20:10
 */

namespace app\common\validate;


use think\Validate;

class Batch extends Validate{
    protected $rule = [
        "num|取卡数" => "require",
        "expiry|有效期" => "require",
        "company_type|客户优惠类型" => "require",
        "company_value|客户优惠值" => "require|between:1,10",
        "offline_type|快递优惠类型" => "require",
        "offline_value|快递优惠值" => "require|between:1,10",
    ];
}